package com.doyens.gmall.cart.service;

import com.doyens.gmall.model.cart.CartInfo;

import java.util.List;

/**
 * Classname:CartService
 * PackageName:com.doyens.gmall.service
 *
 * @Author:uyijk
 * @Create:2023/8/8 11:24
 * @Version: 1.0
 */
public interface CartAsyncService {
    void addToCart(CartInfo cartInfo);

    void updateCartInfo(CartInfo cartInfo);

    void deleteByUserId(String userId);
    void deleteByUserIdAndSkuId(String userId,Long skuId);
}
